<%@ page language="java" import="com.myself.model.Count" import="java.util.List"
contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>学生基本信息</title>

<style>
	
		.myLongDiv
	    {
	      top:55%;
	      left:25%;
	      position:absolute;   
	      margin:-250px 0 0 -200px;
	      font-size:20px;
	    }  			
			
</style>

</head>

<body>

<div align="center">
	<div id="background" style="position:absolute;z-index:-1;width:100%;height:100%;top:0px;left:0px;">
	<img src="/images/q.jpg" width="100%" height="100%"/>
    </div>
    
<div class="myLongDiv" >
	<table border="1">
	
<tr>
	<td>专业名</td>
	<td>课程名</td>
	<td>第一档：90-100分</td>
	<td>第二档：80-89分</td>
	<td>第三档：70-79分</td>
	<td>第四档：60-69分</td>
	<td>第五档：60分以下</td>

	<td>第一档百分率</td>
	<td>第二档百分率</td>
	<td>第三档百分率</td>
	<td>第四档百分率</td>
	<td>第五档百分率</td>
</tr>

	<%	
		int count[] = (int[])request.getAttribute("Data");
		double percent[] = (double[])request.getAttribute("DataPercent");	
		
		String str1 = (String)request.getAttribute("Data1");
		String str2 = (String)request.getAttribute("Data2");
		
	%>
	<tr>
		<td><%=str1%></td>	
		<td><%=str2%></td>	
		
		<td><%=count[0]%>人</td>	
		<td><%=count[1]%>人</td>	
		<td><%=count[2]%>人</td>	
		<td><%=count[3]%>人</td>	
		<td><%=count[4]%>人</td>	
		
		<td><%=percent[0]%>%</td>	  
		<td><%=percent[1]%>%</td>	  
		<td><%=percent[2]%>%</td>	  
		<td><%=percent[3]%>%</td>	  
		<td><%=percent[4]%>%</td>	  
		
		
	
	
</table>	
	
</div>  
    
</div>
</body>
</html>     